AAsset_openFileDescriptor

Open a new file descriptor that can be used to read the asset data. If the start or length cannot be represented by a 32-bit number, it will be truncated. If the file is large, use AAsset_openFileDescriptor64 instead.

Returns < 0 if direct fd access is not possible (for example, if the asset is compressed).

version(Android)
extern (C)
int
AAsset_openFileDescriptor

Meta